<html>
<body>
Reports <code>hashCode()</code> and <code>equals()</code> calls on <code>java.net.URL</code> objects and calls that add <code>URL</code>
objects to maps and sets.
<p>
  <code>URL</code>'s <code>equals()</code> and <code>hashCode()</code> methods can perform a DNS lookup to resolve the host name.
  This may cause significant delays, depending on the availability and speed of the network and the DNS server.
  Using <code>java.net.URI</code> instead of <code>java.net.URL</code> will avoid the DNS lookup.
</p>
<p><b>Example:</b></p>
<pre><code lang="java">
  boolean urlEquals(URL url1, URL url2) {
      return url1.equals(url2);
  }
</code></pre>
<!-- tooltip end -->
</body>
</html>